package site.thatime.hyts.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import site.thatime.hyts.mapper.PdaUserMapper;
import site.thatime.hyts.model.PdaUser;

@Service
public class PdaUserService extends AbstractService<PdaUser> {
	@Resource
	private PdaUserMapper pdaUserMapper;

	@Override
	public PdaUser fetch(String id) {
		return pdaUserMapper.fetch(id);
	}

	public List<PdaUser> getAll() {
		return pdaUserMapper.selectAll();
	}

}
